<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Home</title>
  <link rel="stylesheet" href="./index.css">
</head>

<body>
  <h1>Home Page</h1>
  <input type="file" id="metadata" />
  <button onclick="query1()">有延迟的查询</button>
  <button onclick="query2()">没延迟的查询</button>
  <button onclick="upload()">上传</button>
  <button onclick="download('open')">windowopen下载</button>
  <button onclick="download('fetch')">fetch下载</button>
  <button onclick="logout()">登出系统</button>

  <p><input type="text" id="username" placeholder="name" value="" /></p>
  <p><input type="password" id="password" placeholder="password" /></p>
  <button onclick="addUser()">添加用户</button>
  <button onclick="updateUser()">修改用户</button>
  <button onclick="getUser()">查询用户</button>


  <div id="result"></div>
  <script src="./index.js"></script>
</body>

</html>